kdialog --icon error --title "deactivate error" --error "Module is not activated"
exit 4
fi
if [ $err -ne 0 ]; then
kill $KILLPID
kdialog --icon error --title "deactivate error" --error "Module can't be deactivated. Perhaps some files from the module are still used, opened or executed."
exit 3
else
# if http/slik module was mounted, clean up
if [ -d "$HTTP/$BASE" ]; then
umount "$HTTP/$BASE"
rm -f "$HTTP/$BASE/slik.url"
rmdir "$HTTP/$BASE"
fi
# Rebuild the system configuration cache for KDE (mainly to update KDE menu)